package com.tarena.vehicle.management.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class VehicleInsuranceListItemVO {
    private Integer id;
    private String policyNum;
    private String insuranceCompany;
    private Double insuranceFee;
    private String insuranceType;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;
    private String insuredPerson;
    private String insuredPhone;
    private String contactPerson;
    private String contactPhone;
    private String vehicleId;
    private Integer status;
    private Integer uid;
    private Integer orgid;
    private String companyCode;
}
